-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add logfile size upload limit to the reportportal
plugin
#3199
base: main
Are you sure you want to change the base?
Conversation
10aded9
to
6a5fc18
Compare
b9a19af
to
a81dc30
Compare
Would it be useful to submit at least an abridged version of the log, with the "too long, had to cut" header? With the proposed code, user gets a note and nothing more, while even a shortened log might bring at least some value. |
556a7d5
to
6445517
Compare
ec94f05
to
6ec0722
Compare
reportportal
plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this! Looks good, only we should also update the schema to add the newly supported option. Also, it might be worth at least a short release note?
Missing schema update, release note, open question, moving to |
b84a6c3
to
af55e9a
Compare
4b3b9d8
to
5f1ba96
Compare
@psss @happz @martinhoyer Hi, I did some updates in the script so please review it whether it makes sense. I have decided to introduce separate limit for traceback log as this is the input for RP AutoAnalysis and I believe that it doesn't make sense to match 1MB logs. |
9f220a7
to
e247b5a
Compare
f"exceeds tmt reportportal plugin limit of {settings.size} bytes." | ||
f"The limit is controlled with {option} plugin option or" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I am not mistaken, there will be no space between these sentences. Shouldn't it be like this?
f"exceeds tmt reportportal plugin limit of {settings.size} bytes." | |
f"The limit is controlled with {option} plugin option or" | |
f"exceeds tmt reportportal plugin limit of {settings.size} bytes. " | |
f"The limit is controlled with {option} plugin option or " |
Pull Request Checklist